import React from 'react'
import PropTypes from 'prop-types'
import {
  Wrapper,
  Decorate,
  Content
} from './style'

const BaseTitle = (props) => (
  <Wrapper>
    <Decorate />
    <Content>
      {props.title}
    </Content>
  </Wrapper>
)

BaseTitle.propTypes = {
  title: PropTypes.string
}

BaseTitle.defaultProps = {
  title: 'Please props title'
}

export default BaseTitle
